package csu.web.mypetstore.pojo.Vo;

import java.math.BigDecimal;

public class GetItemByProductIdVo {
    private String itemId;
    private BigDecimal listPrice;
    private BigDecimal unitCost;
    private int supplierId;
    private String productId;
    private String name;
    private String description;
    private String categoryId;
    private String status;
    private String attribute1;
    private String attribute2;
    private String attribute3;
    private String attribute4;
    private String attribute5;

    public String getItemId() {
        return itemId;
    }

    public void setItemId(String itemId) {
        this.itemId = itemId;
    }

    public BigDecimal getListPrice() {
        return listPrice;
    }

    public void setListPrice(BigDecimal listPrice) {
        this.listPrice = listPrice;
    }

    public BigDecimal getUnitCost() {
        return unitCost;
    }

    public void setUnitCost(BigDecimal unitCost) {
        this.unitCost = unitCost;
    }

    public int getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(int supplierId) {
        this.supplierId = supplierId;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(String categoryId) {
        this.categoryId = categoryId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getAttribute1() {
        return attribute1;
    }

    public void setAttribute1(String attribute1) {
        this.attribute1 = attribute1;
    }

    public String getAttribute2() {
        return attribute2;
    }

    public void setAttribute2(String attribute2) {
        this.attribute2 = attribute2;
    }

    public String getAttribute3() {
        return attribute3;
    }

    public void setAttribute3(String attribute3) {
        this.attribute3 = attribute3;
    }

    public String getAttribute4() {
        return attribute4;
    }

    public void setAttribute4(String attribute4) {
        this.attribute4 = attribute4;
    }

    public String getAttribute5() {
        return attribute5;
    }

    public void setAttribute5(String attribute5) {
        this.attribute5 = attribute5;
    }

    //    item.setItemId(resultSet.getString(1));
//                item.setListPrice(resultSet.getBigDecimal(2));
//                item.setUnitCost(resultSet.getBigDecimal(3));
//                item.setSupplierId(resultSet.getInt(4));
//
//    Product product = new Product();
//                product.setProductId(resultSet.getString(5));
//                product.setName(resultSet.getString(6));
//                product.setDescription(resultSet.getString(7));
//                product.setCategoryId(resultSet.getString(8));
//
//                item.setProduct(product);
//                item.setStatus(resultSet.getString(9));
//                item.setAttribute1(resultSet.getString(10));
//                item.setAttribute2(resultSet.getString(11));
//                item.setAttribute3(resultSet.getString(12));
//                item.setAttribute4(resultSet.getString(13));
//                item.setAttribute5(resultSet.getString(14));

}
